public  class Square extends Shape {
    public Square(Double r){
        super(r);
    }
    @Override
    public double getArea(double r){
        System.out.println(r*r);
        return r*r;
    }
    @Override
    public double getLength(double r){
        System.out.println(r*4);
        return r*4;

    }


}
